import 'package:flutter/material.dart';
import 'package:flutter_1/pages/detail.dart';
import 'package:flutter_1/pages/home.dart';

main() {
  runApp(MaterialApp(
    routes: {
      '/': (context) => const HomePage(),
      '/detail': (context) => const DetailPage()
    },
  ));
}
